const weeks = ['日', '一', '二', '三', '四', '五', '六'];
// const QQMapWX = require('../static/js/qqmap-wx-jssdk.min.js');
const getUserInfo = function() {
    return new Promise((resolve, reject) => {
        uni.getUserInfo({
            success: function(res) {
				console.log('用户信息', res);
                resolve(res);
                console.log('用户信息', res.data);
            },
            fail:err=>{
                // 获取失败的去引导用户授权
                reject(err);
             }
          })
    });
};

export default{
    getUserInfo
}